package com.lzq.his.mapper;

import com.lzq.his.domain.DeptMajor;
import com.lzq.his.domain.DeptMajorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeptMajorMapper {
    long countByExample(DeptMajorExample example);

    int deleteByExample(DeptMajorExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeptMajor record);

    int insertSelective(DeptMajor record);

    List<DeptMajor> selectByExample(DeptMajorExample example);

    DeptMajor selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeptMajor record, @Param("example") DeptMajorExample example);

    int updateByExample(@Param("record") DeptMajor record, @Param("example") DeptMajorExample example);

    int updateByPrimaryKeySelective(DeptMajor record);

    int updateByPrimaryKey(DeptMajor record);
}